/*
 *
please input a string: 123 456 789
123
 */
#include <iostream>
using namespace std;

int main(void){
	char a[100] = {0};
	cout << "please input a string: ";
	//遇到空格就结束
	cin >> a;  // 123  456 
	cout << a << endl;
	return 0;
}
